package com.gitee.bo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class AdminInfoBo {

    @NotBlank(message = "昵称不能为空")
    private String nickName;

    @NotBlank(message = "头像不能为空")
    private String avatarUrl;

    @NotNull(message = "性别不能为空")
    private Boolean gender;

    @NotBlank(message = "手机号不能为空")
    private String phoneNumber;
}
